package cn.wolfcode.p2p.business.domain;

import cn.wolfcode.p2p.base.domain.BaseDomain;
import cn.wolfcode.p2p.base.domain.LoginInfo;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
public class CreditTransfer extends BaseDomain {
    //乐观锁
    private Integer version = 0;
    //对应标id
    private Long bidId;
    //对应借款id
    private Long bidRequestId;
    //对应借款金额
    private BigDecimal bidRequestAmount;
    //对应借款利率
    private BigDecimal currentRate;
    //还款方式
    private Integer returnType;
    //总还款期数
    private Integer monthIndex;
    //剩余还款期数
    private Integer remainMonthIndex;
    //剩余利息
    private BigDecimal remainInterest;
    //最近还款截止时间
    private Date closestDeadLine;
    //原借款标题
    private String bidRequestTitle;
    //债权状态
    private Integer bidRequestState;
    //转出人
    private LoginInfo transFrom;
    //接收人
    private LoginInfo transTo;
    //发布时间
    private Date publishDate;
    //接手时间
    private Date transDate;


}